package be.kuleuven.cs.mop.gui.components;


import java.awt.Dimension;
import java.awt.Font;

import javax.swing.JTextField;



public class TextInput extends JTextField {
	private static final long serialVersionUID = 1L;
	
	
	public TextInput() {
		setFont(new Font(Font.SANS_SERIF, Font.PLAIN, 14));
		setPreferredSize(new Dimension(200, 24));
	}
	
	
	
	public String read() { return getText().trim(); }
	
}